﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Simple.Repository.Models.ClassRoom;
using Simple.Repository.Models.Market;

namespace Simple.Services.System.Market.Models
{
    public class CommodityCategoryModel : ModelBase
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string TypeName { get; set; } = "";

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = "";

        public override void ConfigureMapper(Profile profile)
        {
            profile.CreateMap<CommodityCategory, CommodityCategoryModel>();
            profile.CreateMap<CommodityCategoryModel, CommodityCategory>();
        }
    }
}
